package com.bw.lyc.test.di;

import com.bw.lyc.test.TestContract;
import com.bw.lyc.test.TestModel;

import dagger.Module;
import dagger.Provides;

@Module
public class Modeles {
    private TestContract.TestViewImpl view;

    public Modeles(TestContract.TestViewImpl view) {
        this.view = view;
    }

    @Provides
    public TestContract.TestViewImpl providerView() {
        return view;
    }

    @Provides
    public TestContract.TestModelImpl providerModel(TestModel model) {
        return model;
    }

}
